package com.kaijie.entity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Author pxh
 * @TODO TODO
 * @Date 2017/7/4
 */
public class CloudPcbinfod {

    private Long id;

    /**
     * PCB板测试开始时间
     */
    private Date pcbId;
    /**
     * Ng名称
     */
    private String ngName;
    /**
     * X轴坐标
     */
    private BigDecimal xmm;
    /**
     * Y轴坐标
     */
    private BigDecimal ymm;
    /**
     * 角度
     */
    private Long angle;
    /**
     * 元件位置
     */
    private String loc;
    /**
     * 料号
     */
    private String item;
    /**
     * 产品条码
     */
    private String pcbBarcode;
    /**
     * 设备ID
     */
    private String machineId;
    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 数据来源
     */
    private String deviceId;

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Date getPcbId() {
        return pcbId;
    }

    public void setPcbId(Date pcbId) {
        this.pcbId = pcbId;
    }

    public String getNgName() {
        return ngName;
    }

    public void setNgName(String ngName) {
        this.ngName = ngName;
    }

    public BigDecimal getXmm() {
        return xmm;
    }

    public void setXmm(BigDecimal xmm) {
        this.xmm = xmm;
    }

    public BigDecimal getYmm() {
        return ymm;
    }

    public void setYmm(BigDecimal ymm) {
        this.ymm = ymm;
    }

    public Long getAngle() {
        return angle;
    }

    public void setAngle(Long angle) {
        this.angle = angle;
    }

    public String getLoc() {
        return loc;
    }

    public void setLoc(String loc) {
        this.loc = loc;
    }

    public String getItem() {
        return item;
    }

    public void setItem(String item) {
        this.item = item;
    }

    public String getPcbBarcode() {
        return pcbBarcode;
    }

    public void setPcbBarcode(String pcbBarcode) {
        this.pcbBarcode = pcbBarcode;
    }

    public String getMachineId() {
        return machineId;
    }

    public void setMachineId(String machineId) {
        this.machineId = machineId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }


    @Override
    public String toString() {
        return "[" +
                "id=" + id +
                ", pcbId=" + pcbId +
                ", ngName=" + ngName +
                ", xmm=" + xmm +
                ", ymm=" + ymm +
                ", angle=" + angle +
                ", loc= " + loc +
                ", item= " + item +
                ", pcbBarcode= " + pcbBarcode +
                ", machineId= " + machineId +
                ", createTime=" + createTime +
                ", deviceId= " + deviceId +
                "]";
    }
}
